home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
VISUALBA
/
FLDPAK.ZIP
/
FPDEMO2.BAS
< prev
next >
Wrap
BASIC Source File
|
1994-02-02
|
1KB
|
34 lines
Option Explicit
Global Const FIELDNUMBER_NAME = 1
Global Const FIELDNUMBER_ADDRESS = 2
Global Const FIELDNUMBER_CITY = 3
Global Const FIELDNUMBER_STATE = 4
Global Const FIELDNUMBER_ZIP = 5
Global Const FIELDNUMBER_AREACODE = 6
Global Const FIELDNUMBER_PHONE = 7
Global Const field_names = "Name;Address;City;St;Zip;AC;Phone"
Global Const field_widths = "18;24;15;2;5;3;8"
Global RecDlm As String
Global FldDlm As String
Global DatabaseFileName As String
Global DatabaseMemoryBuffer As String
Global NumberOfRecords As Integer
Global CurrentRecordNumber As Integer
Global FlagRecordChanged As Integer
Global FlagFileChanged As Integer
Global FlagNewRecordInProgress As Integer
Global TextChangeEnabled As Integer 'Strange but necessary...
Global ScrollerChangeEnabled As Integer 'ditto...
Global SortField As Integer 'New field on which to sort
Global FirstField As Integer 'Current database sort field
Global SortForm_OK_or_Cancel As Integer
Global pr_num_fields As Integer
Global pr_fld_numbers() As Integer
Global pr_fld_widths() As Integer